package payroll.trans;

import payroll.classification.SalariedClassification;

public class ChangeSalariedTransaction extends ChangeClassificationTransaction {
    private double salary;
    public ChangeSalariedTransaction(int empId, double salary){
        super(empId);
        this.salary = salary;
    }

    @Override
    protected SalariedClassification getPaymentClassification() {
        return new SalariedClassification(salary);
    }
}
